package com.jxdinfo.hussar.activitidemo.service;

import java.util.Map;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.jxdinfo.hussar.activitidemo.bean.TdbYjMCommanderEngineer;

/**
 * <p>
 * 指挥/机械师服务类
 * </p>
 *
 * @author zzd
 * @since 2019-03-25
 */
public interface ITdbYjMCommanderEngineerService extends IService<TdbYjMCommanderEngineer> {
	/**
	 * 增加指挥人员/随车机械师信息
	 * 
	 * @param info
	 * @return
	 */
	int insertinfo(TdbYjMCommanderEngineer info);

	/**
	 * 批量删除指挥人员/随车机械师信息
	 * 
	 * @param ids
	 * @return
	 */
	int deleteById(TdbYjMCommanderEngineer info);

	/**
	 * 根据条件查询指挥人员/随车机械师信息
	 * 
	 * @param regulationsInfo
	 * @return
	 */
	Page<Map<String, Object>> selectByCondition(Page<Map<String, Object>> Info, Map<String, Object> info);

	/**
	 * 根据id更新指挥人员/随车机械师信息
	 * 
	 * @param regulationsInfo
	 * @return
	 */
	int update(TdbYjMCommanderEngineer info);

	/**
	 * 批量修改状态信息
	 * 
	 * @param map
	 * @return
	 */
	int updateBatch(Map<String, Object> map);

	/**
	 * 根据条件查询总列数
	 * 
	 * @param map
	 * @return
	 */
	String selectCountByCondition(Map<String, Object> map);
}
